<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>别名 SolrParams::setParam</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="solrparams.serialize.html">« SolrParams::serialize</a></li>
      <li style="float: right;"><a href="solrparams.setparam.html">SolrParams::setParam »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="class.solrparams.html">SolrParams</a></li>
    <li>别名 SolrParams::setParam</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="solrparams.set" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">SolrParams::set</h1>
  <p class="verinfo">(PECL solr &gt;= 0.9.2)</p><p class="refpurpose"><span class="refname">SolrParams::set</span> &mdash; <span class="dc-title">别名 <span class="methodname"><a href="solrparams.setparam.html" class="methodname">SolrParams::setParam()</a></span></span></p>

 </div>

 <div class="refsect1 description" id="refsect1-solrparams.set-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description"><span class="modifier">final</span> <span class="modifier">public</span> <span class="methodname"><strong>SolrParams::set</strong></span>(<span class="methodparam"><span class="type">string</span> <code class="parameter">$name</code></span>, <span class="methodparam"><span class="type">string</span> <code class="parameter">$value</code></span>): <span class="type"><span class="type void">void</span></span></div>

  <p class="para rdfs-comment">
   An alias of SolrParams::setParam
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-solrparams.set-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>
    
     <dt>
<code class="parameter">name</code></dt>

     <dd>

      <p class="para">
       Then name of the parameter
      </p>
     </dd>

    
    
     <dt>
<code class="parameter">value</code></dt>

     <dd>

      <p class="para">
       The parameter value
      </p>
     </dd>

    
   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-solrparams.set-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
Returns an instance of the SolrParams object on success
  </p>
 </div>



</div></div></div></body></html>